<?php

namespace app\api\validate;

use think\Validate;

class Mechanism extends Validate
{
    protected $rule = [
        "title" => "require",
        "disseminate" => "require",
        "address" => "require",
        "award_information" => "require",
        "trainees_number" => "require",
        "teacher_number" => "require",

    ];

    protected $message = [
        'title.require' => '请输入机构名称',
        'disseminate.require' => '请输入机构宣传',
        'address.require' => '请输入机构地址',
        'award_information.require' => '请输入获奖信息',
        'trainees_number.require' => '请输入学员人数',
        'teacher_number.require' => '请输入教师人数',
    ];

}